<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head> 
        <title>flyui Test Runner (All Tests)</title>
        
        <!-- basic style foundations -->
        <link rel="stylesheet" type="text/css" href="../../lib/yui_2.5.1/build/reset-fonts-grids/reset-fonts-grids.css"/>
        <link rel="stylesheet" type="text/css" href="../../lib/yui_2.5.1/build/base/base-min.css"/>

        <!-- YUI dependencies -->
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/yahoo/yahoo-min.js"></script>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/connection/connection-min.js"></script>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/json/json-min.js"></script>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/selector/selector-beta-min.js"></script>
        
        
        <!-- logger dependencies -->
        <link type="text/css" rel="stylesheet" href="../../lib/yui_2.5.1/build/logger/assets/skins/sam/logger.css"/>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/logger/logger-min.js"></script>

        <!-- custom logger style -->
        <link rel="stylesheet" type="text/css" href="testutils/logger.css"/>
        
        <!-- testing dependencies -->
        <script type="text/javascript" src="../../lib/yui_2.5.1/build/yuitest/yuitest-min.js"></script>
        
        <!-- jQuery -->
        <script type="text/javascript" src="../../lib/jquery-1.2.6.min.js"></script>

        <!-- flyui dependencies -->
        
        <script type="text/javascript" src="flyui/flyui.js"></script>
        <script type="text/javascript" src="flyui/test/test-flyui.js"></script>
                
        <script type="text/javascript" src="arrayutils/arrayutils.js"></script>
        <script type="text/javascript" src="maputils/maputils.js"></script>
        <script type="text/javascript" src="arrayutils/test/test-arrayutils.js"></script>
        
        <script type="text/javascript" src="mvcutils/mvcutils.js"></script>
        <script type="text/javascript" src="mvcutils/mvcutils-showhide.js"></script>
        <script type="text/javascript" src="mvcutils/test/test-mvcutils.js"></script>
		<script type="text/javascript" src="sparql/sparql-service.js"></script>
        <script type="text/javascript" src="mvcutils/mvcutils-model2.js"></script>
        <script type="text/javascript" src="mvcutils/test/test-mvcutils-model2.js"></script>
        
        <script type="text/javascript" src="flybase/flybase.js"></script>
        <script type="text/javascript" src="flybase/test/test-flybase.js"></script>
        
        <script type="text/javascript" src="genefinder/genefinder.js"></script>
        <script type="text/javascript" src="genefinder/test/test-genefinder.js"></script>

        <script type="text/javascript" src="flyted/flyted-service.js"></script>
        <script type="text/javascript" src="flyted/flyted-mappings.js"></script>
        <script type="text/javascript" src="flyted/flyted-imagewidget.js"></script>
        <script type="text/javascript" src="flyted/test/test-flyted-service.js"></script>
        <script type="text/javascript" src="flyted/test/test-flyted-imagewidget.js"></script>

        <script type="text/javascript" src="bdgp/bdgp-service.js"></script>
        <script type="text/javascript" src="bdgp/bdgp-mappings.js"></script>
        <script type="text/javascript" src="bdgp/bdgp-imagewidget.js"></script>
        <script type="text/javascript" src="bdgp/test/test-bdgp-service.js"></script>
        <script type="text/javascript" src="bdgp/test/test-bdgp-imagewidget.js"></script>

<!--        <script type="text/javascript" src="flyatlas/flyatlas-service.js"></script>
        <script type="text/javascript" src="flyatlas/flyatlas-widget.js"></script>
        <script type="text/javascript" src="flyatlas/test/test-common.js"></script>
        <script type="text/javascript" src="flyatlas/test/test-flyatlas-service.js"></script>
        <script type="text/javascript" src="flyatlas/test/test-flyatlas-widget.js"></script>
-->        
        <!-- Initialisation script -->
        <script type="text/javascript">
                YAHOO.util.Event.onDOMReady(function() {
                var loggerConfig = {
                    thresholdMax : 100000,
                    thresholdMin : 100000
                };
                var loggerContainer = document.getElementById("logger");
                var testLogger = new YAHOO.tool.TestLogger(loggerContainer, loggerConfig);
                YAHOO.log("flyui :: running all tests");
                YAHOO.tool.TestRunner.add(flyui.TestSuite());
                YAHOO.tool.TestRunner.add(flyui.mvcutils.TestSuite());
                YAHOO.tool.TestRunner.add(flyui.mvcutils.GenericModel2.TestSuite());
                YAHOO.tool.TestRunner.add(flyui.flybase.TestSuite("../../data/flybase"));
                YAHOO.tool.TestRunner.add(flyui.genefinder.TestSuite("../../data/flybase"));
                YAHOO.tool.TestRunner.add(flyui.flyted.Service.TestSuite("../../data/flyted"));
                YAHOO.tool.TestRunner.add(flyui.flyted.ImageWidget.TestSuite("../../data/flyted"));
                YAHOO.tool.TestRunner.add(flyui.bdgp.Service.TestSuite("../../data/bdgp"));
                YAHOO.tool.TestRunner.add(flyui.bdgp.ImageWidget.TestSuite("../../data/bdgp"));
//                YAHOO.tool.TestRunner.add(flyui.flyatlas.Service.TestSuite("../../data/flyatlas"));
//                YAHOO.tool.TestRunner.add(flyui.flyatlas.Widget.TestSuite("../../data/flyatlas"));
                YAHOO.tool.TestRunner.run();
            });
        </script>
        
    </head>
    
    <body>
        <div id="doc3">
            
            <div id="hd">
                <!-- header -->
                <h1>flyui Test Runner (Test All)</h1>
            </div>  
            
            <div id="bd">
                <!-- body -->
                <p>This page runs all flyui test suites.</p>
            </div>  
            
            <div id="ft" class="yui-skin-sam">
                <!-- footer -->
                <div id="logger"></div>
            </div>  
            
        </div> 
    </body>
    
</html>
